import { PickType } from '@nestjs/swagger';
import { Category } from '../entities/category.entity';

export class CreateCategoryDto extends PickType(Category, ['categoryName']) {}

export class UpdateCategoryDto extends PickType(Category, [
  'categoryId',
  'categoryName',
]) {}

export class CategoryListReqDto extends PickType(Category, ['tag']) {}